#ifndef _CAPP_H_
#define _CAPP_H_

#include <SDL.h>
#include "CSurface.h"
#include "CEvent.h"
#include "CAnimation.h"
#include "CEntity.h"

class CApp : public CEvent
{
	private:
		bool			m_bIsRunning;
		SDL_Surface*	m_SDLDisplay;
		SDL_Surface*	m_Yoshi;

		CEntity			Entity1;
		CEntity			Entity2;



	public:
		CApp();
		int OnExecute();
	
		bool OnInit();
		void OnEvent(SDL_Event* Event);
		void OnExit();
		void OnLoop();
		void OnRender();
		void OnCleanup();
		void Reset();

};

#endif
